第 7 步:是时候控制桨如何来回移动了!
- 从添加Move Mouse并单击运行。哦哦!我们不希望砖块移动!
- 找到这一行···· sprite 。 set_position( x , · y ) ¬并将sprite更改为paddle ,以便桨移动!
- 更改 中的 y 坐标。 set_position()从y到- 235让paddle留在舞台底部!
- 从事件中删除此行: ···· y · = ·舞台。 mouse_y() ¬
To navigate the page using the TAB key, first press ESC to exit the code editor.